package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Order;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderService {
    //生成订单
    void submit(Order order);


    //服务区查看订单
    Page<Order> show(Integer pageNum, Integer pageSize, String number, String beginTime, String endTime);

    //客户端查看订单
    Page<Order> showOrder(Integer pageNum, Integer pageSize);
    //退出登录
    void exit();
}

